package com.example.travel.domain.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @Author : LinQingLiang
 * @file : LoginEmailRequest.java
 * @Since : 2023/2/26 20:39
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginEmailRequest {


    @ApiModelProperty(value = "邮箱",required = true)
    @NotBlank(message = "邮箱不能为空")
    private String email;
    @ApiModelProperty(value = "验证码",required = true)
    @NotBlank(message = "验证码不能退为空")
    private String code;
}
